package com.springboot.cloud.goods.feign;

import com.springboot.cloud.common.core.entity.vo.Result;
import com.springboot.cloud.common.web.entity.dto.GoodsDto;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * @author godyao
 * @date 2022/3/26
 */
@Component
@Slf4j
public class GoodsFeignFallBack implements GoodsFeign {
    @Override
    public Result<GoodsDto> find(Long id) {
        return Result.success(new GoodsDto());
    }
}
